import 'package:wanxiang_app/generated/json/base/json_field.dart';
import 'package:wanxiang_app/generated/json/kan_count_entity.g.dart';
import 'dart:convert';
export 'package:wanxiang_app/generated/json/kan_count_entity.g.dart';

@JsonSerializable()
class KanCountEntity {
	late int code;
	late String msg;
	@JSONField(name: "buy_num")
	 String buyNum='0';
	@JSONField(name: "my_num")
	 String myNum = '0';

	KanCountEntity();

	factory KanCountEntity.fromJson(Map<String, dynamic> json) => $KanCountEntityFromJson(json);

	Map<String, dynamic> toJson() => $KanCountEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}